from django.conf.urls import url

from users import views

urlpatterns = [
    # 首页数据与用户搜索
    url(r'^index$', views.IndexView.as_view()),
    # 用户登录
    url(r'^login$', views.HomeView.as_view()),
    # 用户退出
    url(r'^quit$', views.HomeView.as_view()),
    # 用户注册与投票
    url(r'^register', views.RegisterView.as_view()),
    # 活动介绍
    url(r'^introduce$', views.IntroduceView.as_view()),
    # 活动规则与用户信息
    url(r'^rule$', views.RuleView.as_view()),
    # 官网公告
    url(r'^affiche$', views.AfficheView.as_view()),
    # 排行列表
    url(r'^list$', views.ListView.as_view()),
    # 个人中心
    url(r'^personal$', views.PersonalView.as_view()),

]